home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950726-19950929
/
000045_news@columbia.edu_Mon Jul 31 12:25:54 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-12-25
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19409
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 31 Jul 1995 08:26:06 -0400
Received: by apakabar.cc.columbia.edu id AA01426
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 31 Jul 1995 08:26:03 -0400
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Help with input statement in a script file
Date: 31 Jul 1995 12:25:54 GMT
Organization: Columbia University
Lines: 31
Message-Id: <3vii4i$1cg@apakabar.cc.columbia.edu>
References: <3v84vb$t3r@cwmills.umd.edu> <EZAHw07+wp8G084yn@twics.com>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <EZAHw07+wp8G084yn@twics.com>, Dan Kanagy <dkanagy@twics.com> wrote:
:
: As far as I can tell, I seem to be experiencing the same problem. I'm
: trying to create a script to log in to a VMS system from a OS/2 PC. I
: can't use VMSLOGIN since the remote host has added an extra step to
: the login process. ...
: No doubt the solution is trivial--once I know what it is.
:
Take another look at the VMSLOGIN script. Notice how it handles VMS's
"What Are You?" query to the terminal. At present (though not necessarily
in the future), it is a cardinal principle that Kermit's terminal emulator
is not active except when executing the CONNECT command. Thus, anything
the terminal emulator would have had to do during an interactive login must
be done by your script. Here is the relevant fragment from the current
version of VMSLOGIN:
minput 20 \27Z \27[c,-
xif success { -
out \27[\?1c,-
in 2 [6n,-
if succ out \27[24;80R -
} else { out \13},-
(By the way, this version has hardwired values for terminal ID and
screen size, which could be fixed to reflect the actual terminal
ID and screen size.)
If you have further trouble with VMSLOGIN'ing, send details by email to
kermit@columbia.edu.
- Frank